﻿@model int?
@if (Model.HasValue)
{
    @:<!DOCTYPE html>
    <html style="width: 700px; height: 500px; overflow: hidden;">
    <head>
        <title>用户登录</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="Content-Language" content="zh-CN" />
        @Url.Sk().StaticCss("reset")
        @Url.Sk().StaticCss("sk.base")
        @Url.Sk().StaticCss("sk.passport")
        @Url.Sk().StaticJs("jquery-1.7.1.min")
        @Url.Sk().StaticJs("jquery.extend")
        @Url.Sk().StaticJs("jquery.validate.min")
        @Url.Sk().StaticJs("sk.global")
        @Url.Sk().StaticJs("jquery.unobtrusive-ajax.min")
        @Url.Sk().StaticJs("jquery.validate.unobtrusive.min")
        @Url.Sk().StaticJs("jquery.validate.extend")
        <script type="text/javascript">
            document.domain = "silenthink.com";
        </script>
    </head>
    <body style="width: 700px; height: 500px; margin: 0 auto;">
        <div class="sk-passport-iframe-login clearfix">
            <div class="sk-passport-external-login">
                <div class="title">
                    使用合作网站登录</div>
                <div class="line">
                </div>
                <div class="sina">
                </div>
                <div class="qq">
                </div>
                <div class="msn">
                </div>
                <p>
                    通过这些账户可以直接登录海丁网</p>
                <p class="reg">
                    直接注册为海丁用户</p>
            </div>
            <div class="sk-passport-self-login">
                <div class="title">
                    使用注册邮箱登录</div>
                <div class="sk-passport-login">
                    @LoginHelper.GetHtml()
                </div>
            </div>
        </div>
    </body>
    </html>
}
else
{
    @LoginHelper.GetHtml(Request.QueryString.ToQueryString())
}
